	<div>
		<h3>What would you like to do?</h3>
		<ul class="iconset">
			
		<li><a href="<%= url_for({:action => 'index'}) %>"><span>
				<img alt="event" src="<%= url_for(root_url+"images/icons/back.png") %>" /> <br />
				Back to List</span></a></li>
		
		<div  style="float:right">
			<% if @article.reporter_edit?(@user) %>
				<li><a href="<%= url_for({:action => 'edit', :id => @article.id}) %>"><span>
				<img alt="event" src="<%= url_for(root_url+"images/icons/write.png") %>" /> <br />
				Edit this Article</span></a></li>
				
				<li><a href="<%= url_for({:action => 'destroy', :id => @article.id}) %>" data-confirm="Are you want to delete this article !"><span>
				<img alt="event" src="<%= url_for(root_url+"images/icons/delete_32.png") %>" /> <br />
				Delete this Article</span></a></li>
				
				<li><a href="<%= url_for({:action => 'approving', :id => @article.id}) %>" data-confirm="Are you want to aprroving this article !"><span>
				<img alt="event" src="<%= url_for(root_url+"images/icons/approving.png") %>" /> <br />
				Approving</span></a></li>
			<% end %>			
		</div>
		
		</ul>						
	</div>


<div class="innerdiv clear">
	<h2 class="head">Details</h2>
    <div class="innercontent">		
		<h2><%= @article.title %></h2>
		<%= raw @article.body %>
    </div>
</div>

<div class="innerdiv clear">
			<h2 class="head">Approval History</h2>
			<div class="innercontent">
			  <fieldset>
				<legend>Listing</legend>
				
				<table class="full">
					<thead>
						<tr>
							<th>Start Date</th>
							<th>Status</th>
							<th>Comment</th>
							<th>Deadline</th>							
						</tr>
		
					</thead>	
					<tbody class="tooltip-enabled">
						<% @article.article_approvals.each do |his| %>
						<tr>
							<td>
							  <%= his.updated_at %>						
							</td>
							<td>
							  <h5><%= his.status %></h5>						
							</td>
							<td>
							  <%= his.comment %>						
							</td>
							<td>
							  <%= his.deadline %>						
							</td>							
						</tr>
						<% end %>
					</tbody>
				</table>
			  </fieldset>
			</div>
</div>


